package io.github.talelin.latticy.dto.K;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class BGatewayDTO {
    /**
     * 网关名称
     */
    @NotBlank  //必传
    @Length(max = 50)
    private String name;

    /**
     * 网关唯一码
     */
    @NotBlank  //必传
    @Length(max = 50)
    private String uuid;

    /**
     * 放置位置
     */
    @Length(max = 50)
    private String location;
}
